package stream.demo01;

import com.google.gson.annotations.SerializedName;

/**
 * @author 真香
 * @create 2021-07-04 18:08
 */
public class Person {

    @SerializedName("name_11")
    private String name;
    @SerializedName("age_222")
    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
